package com.bd.scm.module.log.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bd.scm.dao.mapper.log.WtPublicMapper;
import com.bd.scm.domain.models.log.WtPublic;
import com.bd.scm.module.log.service.IWtPublicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  人脸日志服务实现类
 * </p>
 *
 * @author yufc
 * @since 2019-12-28
 */
@Service
public class WtPublicServiceImpl extends ServiceImpl<WtPublicMapper, WtPublic> implements IWtPublicService {

    /**
     * 新增数据
     *
     * @param wtPublic
     * @return
     */
    @Override
    public int add(WtPublic wtPublic) {
        return baseMapper.insert(wtPublic);
    }
}
